-
Couldn't load subscription status.
- Fork 149
chore: upgrade vercel sdk to latest version API MCP-245 #661
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Also remove the embedding provider interface as it will be covered in another PR
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR upgrades the Vercel AI SDK to version 5.x and updates related Azure SDK packages to version 2.x. The changes maintain compatibility with the new SDK API while removing the Ollama provider dependency.
- Updated AI SDK types from
LanguageModelV1toLanguageModel - Migrated to new Vercel AI SDK API patterns (
stepCountIs, token usage property changes) - Removed Ollama provider and associated code
Reviewed Changes
Copilot reviewed 5 out of 6 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| tests/accuracy/sdk/models.ts | Updates type imports and removes Ollama model implementation |
| tests/accuracy/sdk/agent.ts | Migrates to new AI SDK API with updated token usage properties |
| tests/accuracy/sdk/accuracyTestingClient.ts | Adds type imports and fixes function signature compatibility |
| package.json | Upgrades AI SDK packages to v5.x and Azure SDK packages to v2.x |
| .github/workflows/accuracy-tests.yml | Updates Azure OpenAI API URL environment variable |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
📊 Accuracy Test Results📈 Summary
📊 Baseline Comparison
📎 Download Full HTML Report - Look for the Report generated on: 10/16/2025, 3:47:38 PM |
Proposed changes
Checklist